package com.lyk.coursearrange.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

@TableName("tb_schedule")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Schedule extends Model<Schedule> {
    private static final long serialVersionUID=1L;

    /**
     * 排课id
     */
    @TableId(value = "schedule_id", type = IdType.AUTO)
    private Long scheduleId;
    /**
     * 排课编号
     */
    private Long courseSchedulingNo;

    /**
     * 课程id
     */
    private Long courseId;
    /**
     * 班级id
     */
    private Long classId;
    /**
     * 老师id
     */
    private Long teacherId;
    /**
     * 科目id
     */
    private Long categoryId;
    /**
     * 日期
     */
    private String courseDate;

    /**
     * 开始时间
     */
    private String courseTimeOn;

    /**
     * 结束时间
     */
    private String courseEndTime;

    /**
     * 教室
     */
    private String classroom;

    /**
     * 扣课次数
     */
    private Long numberOfClassDeductions;

    /**
     * 循环排课
     */
    private Long recurrentScheduling;

    /**
     * 是否可预约
     */
    private Long canMakeAnAppointment;
    /**
     * 是否结课1：结课2：未结课
     */
    private Long classEnding;

    /**
     * 备注
     */
    private String courseNotes;
}
